projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e41bf09
)
headerbar: Cosmetics
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 24 Sep 2021 12:54:04 +0000
(08:54 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 24 Sep 2021 12:54:04 +0000
(08:54 -0400)
Use the box api we have.
gtk/gtkheaderbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkheaderbar.c
b/gtk/gtkheaderbar.c
index 7668d7fe5b56f37c5d3bb21c16936abcecc4331b..5c99ff090fc7467626733ded8347dbc85f19fa59 100644
(file)
--- a/
gtk/gtkheaderbar.c
+++ b/
gtk/gtkheaderbar.c
@@
-467,8
+467,7
@@
gtk_header_bar_pack (GtkHeaderBar *bar,
}
else if (pack_type == GTK_PACK_END)
{
- gtk_box_append (GTK_BOX (bar->end_box), widget);
- gtk_box_reorder_child_after (GTK_BOX (bar->end_box), widget, NULL);
+ gtk_box_prepend (GTK_BOX (bar->end_box), widget);
}
if (bar->track_default_decoration)